package com.example.demo.entry;

import org.springframework.ldap.core.NameClassPairMapper;

import javax.naming.NameClassPair;
import javax.naming.NamingException;

public class PersonNameClassPair implements NameClassPairMapper {

    public Object mapFromNameClassPair(NameClassPair nameClassPair) throws NamingException {
        return nameClassPair.getName();

    }
}
